<template>
  <div>
    <transition name="fade">
      <keep-alive :exclude="['Detail']">
        <router-view></router-view>
      </keep-alive>
    </transition>
  </div>
</template>

<script>
export default {}
</script>

<style lang="stylus" scoped>
  .fade-enter-active, .fade-leave-active {
    transition: all .3s;
  }
  .fade-enter, .fade-leave-to {
    opacity 0
  }

</style>
